﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Models;

namespace DatabaseRepository
{
    public interface INewsRepository
    {
        bool AddNews(string headline, string text);
        IEnumerable<News> GetNewsPosts();
        bool DeleteNews(string id);
        bool EditNews(string id, string headline, string message);
    }
}
